#ifndef COMMON_H
#define COMMON_H

//天气api
#define WEATHER_API_URL "http://v1.yiketianqi.com/api?unescape=1&version=%1&appid=%2&appsecret=%3"
#define WEATHER_API_VERSION "v9"
#define WEATHER_APIID "29636768"
#define WEATHER_SECRET "uwr6Iv2z"

//地图api
#define MAP_API "https://api.map.baidu.com/staticimage/v2?ak=%1&width=%2&height=%3&center=%4,%5&zoom=%6&scaler=1"
#define MAP_AK "1llHi0WZMgyO5U9zvXv2ibFWm4jWmOms"
#define MAP_WIDTH "920"
#define MAP_HEIGHT "500"
//经纬度api
#define MAP_LNGLAT "https://api.map.baidu.com/location/ip?ak=%1&coor=gcj02&ip=%2"

#endif // COMMON_H
